//
//  UIViewController+XMKit.h
//  XMKit
//
//  Created by Ce Liu on 2018/6/1.
//  Copyright © 2018年 ChenXiaoMing. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (XMKit)<UIViewControllerTransitioningDelegate>

/**
 * 控制器高度
 */
@property (assign, nonatomic) CGFloat controllerHeight;

- (void)modalpresentedViewController:(UIViewController *)viewController controllerHeight:(CGFloat)controllerHeight;

+ (void)showAlertWithTitle: (NSString *)title message: (NSString *)message actionTitles: (NSArray<NSString *> *)actions cancelTitle: (NSString *)cancelTitle style: (UIAlertControllerStyle)style completion: (void(^)(NSInteger index))completion;

@end
